package cn.wostore.wxhelper.Xposed;

import de.robv.android.xposed.XSharedPreferences;

import java.lang.ref.WeakReference;

/**
 * Created by Fanghui at 2019-2-2
 */
public class XSharedPrefrencesUtil {

    private static XSharedPreferences instance = null;

    public static XSharedPreferences getInstance(){
        if (instance == null){
            instance = new XSharedPreferences("cn.wostore.wxhelper","cn.wostore.wxhelper_preferences");
            instance.makeWorldReadable();
        }else {
            instance.reload();
        }

        return instance;
    }

}
